<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8"/>
  <title>校园跑腿</title>
  <meta name="description" content="校园跑腿"/>
  <meta name="keywords" content="校园跑腿"/>
  <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
  <link rel="stylesheet" href="/css/amazeui.min.css"/>
  <link rel="stylesheet" href="/css/style.css"/>
  <script type="text/javascript" src="/js/jquery.min.js"></script>
  <script type="text/javascript" src="/js/amazeui.min.js"></script>
  <script type="text/javascript" src="/js/application.js"></script>
</head>
<body>
<header data-am-widget="header" class="am-header am-header-default header">

  <div class="am-header-left am-header-nav">
    <a th:href="@{/user/address(userid=${user.getUserId()})}" class="">
      <i class="am-header-icon am-icon-angle-left"></i>
    </a>
  </div>

  <h1 class="am-header-title"><a href="#title-link" class="" style="color: black;">修改地址</a></h1>


</header>
<form action="/user/updateaddress" method="post">
  <div class="demo" style="background: white;margin-top: 2px">
    <input type="hidden" name="serialnumber" th:value="${serialnumber}"/>
    <span class="tip gray">收货人： </span>
    <!--        th:text="${username}"   value-->
    <input type="text" id="name" name="name" class="input add_input1" placeholder="请输入收货人" maxlength="18" th:value="${address.name}"/>
  </div>

  <div class="demo" style="background: white;margin-top: 2px">
    <span class="tip gray">手机号： </span>
    <!--        th:text="${phone}"  value-->
    <input type="text" id="phone" name="phone" class="input add_input1" placeholder="请输入手机号" maxlength="11" th:value="${address.phonenumber}"/>
  </div>

  <div class="demo" style="background: white;margin-top: 2px">
    <span class="tip gray">收货地址： </span>
    <textarea id="address" name="address"  class="add_input" type="text" style="padding-left: 8px" placeholder="请输入您要收货的地址" cols="10" rows="5" th:text="${address.address}"></textarea>
  </div>
  <div style="width: 100%;text-align: center;margin-top: 50px">
    <input type="submit" value="提交" class="className"/>
  </div>
</form>
</body>
</html>